package com.springboot.security.entity;

import java.util.List;

/**
 * @author wangning
 * @create 2021-05-21 9:03
 */
public class Menu {
	private Integer id;
	private String pattern;
	private List<Role> roles;

	public List<Role> getRoles() {
		return roles;
	}

	public void setRoles(List<Role> roles) {
		this.roles = roles;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getPattern() {
		return pattern;
	}

	public void setPattern(String pattern) {
		this.pattern = pattern;
	}

	@Override
	public String toString() {
		return "Menu{" +
				"id=" + id +
				", pattern='" + pattern + '\'' +
				'}';
	}
}
